<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>注册</title>
</head>
<body>
<form action="doreg.php" method="post">
	<table>
		<caption>标题</caption>
		<tr>
			<td><label for="uesrname">用户名</label></td>
			<td><input type="text" name="username" id="username" required></td>
		</tr>
		<tr>
			<td><label for="sex">性别</label></td>
			<td>
			<input type="radio" name="sex" id="sex" value="男" >男
			<input type="radio" name="sex" id="sex" value="女">女
			</td>
		</tr>
		<tr>
			<td><label for="sex">爱好</label></td>
			<td>
			<input type="checkbox" name="sex" id="sex" value="游泳" >游泳

			<input type="checkbox" name="sex" id="sex" value="篮球">篮球
			</td>
		</tr>
		<tr>
			<td><label for="password">密码</label></td>
			<td><input type="password" name="password" id="password" required></td>
		</tr>
		<tr>
			<td><label for="cpw">确认密码</label></td>
			<td><input type="password" name="cpw" id="cpw" required></td>
		</tr>
		<tr>
			<td><label for="tel">手机号</label></td>
			<td><input type="number" name="tel" id="tel" required></td>
		</tr>
		
		<tr>
			<td><label for="em">邮箱</label></td>
			<td><input type="email" name="em" id="em"></td>
		</tr>
		<tr>
			<td><label for="url">个人主页</label></td>
			<td><input type="url" name="url" id="erm"></td>
		</tr>
		<tr>
			<td><label for="url">学历</label></td>
			<td>
			<select name ="eb">
				<option value =" ">--请选择--</option>
			<option value ="0">大专</option>
				<option value ="1">本科</option>
					<option value ="2">研究生</option>
			</select>
			</td>
		</tr>

	</table>



</form>
	
</body>
<ml>